package com.ihm.labyrinth;

import java.util.ArrayList;

import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;

public class LabyrinthePanel extends SurfaceView implements SurfaceHolder.Callback {

	
	
	private Activity context;
	
	public LabyrinthePanel(Activity context) {
		super(context);
		this.context = context;
		getHolder().addCallback(this);

		setFocusable(true);
	}
	
	
	
	@Override
	public void surfaceChanged(SurfaceHolder holder, int format, int width,
			int height) {
	}

	
	@Override
	public void surfaceCreated(SurfaceHolder holder) {
		// at this point the surface is created and
		// we can safely start the game loop
	}

	@Override
	public void surfaceDestroyed(SurfaceHolder holder) {
		
	}
}
